package com.chenbei.common.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Schema(description = "分页对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pagination<T> {

    private Long total;

    private List<T> data;
}
